package org.jcut.bean;


/**
 * type
 * @author 
 */
public class Type  {
    private String tNo;

    private String tName;
    /**
          * 父级编号，如果最大类父级类别就是0，如果父级类别是上级类别就记录类别的id
     */
    private String parentNo;
    @Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Type [tNo=");
		builder.append(tNo);
		builder.append(", tName=");
		builder.append(tName);
		builder.append(", parentNo=");
		builder.append(parentNo);
		builder.append("]");
		return builder.toString();
	}

	public String gettNo() {
		return tNo;
	}

	public void settNo(String tNo) {
		this.tNo = tNo;
	}

	public String gettName() {
		return tName;
	}

	public void settName(String tName) {
		this.tName = tName;
	}

	public String getParentNo() {
		return parentNo;
	}

	public void setParentNo(String parentNo) {
		this.parentNo = parentNo;
	}

	

    
}